package com.mallcloud.mall.mall.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mallcloud.mall.common.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "MallProductSettingModel", description = "商品配置")
@Data
@TableName(value = "MALL_PRODUCT_SETTING", autoResultMap = true)
public class MallProductSettingModel extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;

    /**
     * {@link com.mallcloud.mall.common.core.constant.enums.mall.ProductEnum.SettingTypeEnum}
     */
    @ApiModelProperty(value = "商品配置类型 1-热词")
    private Integer type;

    @ApiModelProperty(value = "业务id")
    private Long bizId;

    @ApiModelProperty(value = "业务名称")
    private String bizName;

    @ApiModelProperty(value = "数据排序")
    private Integer sortOrder;

    @ApiModelProperty(value = "状态 0-禁用,1-启用")
    private Boolean status;

}
